package shiyl.use.springboot.loadbalance;

public enum  POLICY {

    /**
     * 负载均衡策略：随机
     */
    RANDOM("random"),
    /**
     * 负载均衡策略：轮询
     */
    ROUNDROBIN("roundboin") ;

    String configName ;

    private POLICY(String configName){
        this.configName = configName ;
    }

    public String getConfigName() {
        return configName;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }
}
